* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 13 Mar 2011 08:31:16 +0000 (00:31 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 13 Mar 2011 08:31:16 +0000 (00:31 -0800)
commit73e70c43f3c167b0a1b9ef8df867db4e49e66bef
tree780d3d9c75659dc099fdf6632caa28888ad6d603
parente5de155a605e5b413aefe36bd0563c61d0062b3d
* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic

from gcc -Wbad-function-cast.
(xg_set_toolkit_scroll_bar_thumb): Use it.
(xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid
diagnostic from gcc -Wbad-function-cast.
src/ChangeLog
src/gtkutil.c